Lock down TIOCSSERIAL
authorDavid Howells <dhowells@redhat.com>
Wed, 8 Nov 2017 15:11:35 +0000 (15:11 +0000)
committerRaspbian forward porter <root@raspbian.org>
Sat, 5 May 2018 11:51:50 +0000 (12:51 +0100)
commit98fe5d77861f340f9a2a6c94b534b4a6211c124b
tree4ab59081d5a213fb25a63d36d2f96e5cee799f16
parented90b52aadb2a75a749387801863acce60888f7b
Lock down TIOCSSERIAL

Lock down TIOCSSERIAL as that can be used to change the ioport and irq
settings on a serial port.  This only appears to be an issue for the serial
drivers that use the core serial code.  All other drivers seem to either
ignore attempts to change port/irq or give an error.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David Howells <dhowells@redhat.com>
cc: Jiri Slaby <jslaby@suse.com>

Gbp-Pq: Topic features/all/lockdown
Gbp-Pq: Name 0021-Lock-down-TIOCSSERIAL.patch
drivers/tty/serial/serial_core.c